package com.dinian.demeter.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

@Setter
@Getter
@ToString
public class Role implements Serializable {
    private static final long serialVersionUID = -25755291635068080L;
    private Long roleId;
    private String roleName;
    private Date createTime;
    private Date updateTime;
    private Set<User> users = new HashSet<>();
    private Set<Permission> permissions = new HashSet<>();
}
